package com.sptpc.learnspring.service;

import com.sptpc.learnspring.model.Drink;

import java.util.List;
import java.util.Optional;

public interface IDrinkService {
    List<Drink> getAllDrinks();
    Drink addNewDrink(Drink drink);
    Drink getDrinkById(Long id);
    List<Drink> searchDrinksByKey(String key);
    Drink updateDrink(Drink updateDrink);
}
